import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:fluttertoast/fluttertoast.dart';
import 'package:flutter_easyloading/flutter_easyloading.dart';
showToast(String message){
  Fluttertoast.showToast(
      msg: message,
      toastLength: Toast.LENGTH_SHORT,
      gravity: ToastGravity.CENTER,
      timeInSecForIosWeb: 1,
      backgroundColor: Color(0xFF148857),
      textColor: Colors.white,
      fontSize: 16.0
  );

}

showLoading(){
  EasyLoading.show(maskType: EasyLoadingMaskType.black);
}

hideLoading(){
  EasyLoading.dismiss();
}




